import { CHANGEGOODPRICE } from './constants'

const initalState = {
  goodPrice:[]
}

export default function reducer(state = initalState,action){
  switch (action.type) {
    case CHANGEGOODPRICE:
      return { ...state,goodPrice:action.goodPrice }
    default:
      return state
  }
}